package king.dominic.jorc.core;

/**
 * Created by Administrator on 2017/10/26.
 * Listener
 */

public class Listener {
    public interface OnSuccessfulListener {
        void success(boolean yes);
    }

    public interface OnProgress {
        /**
         * @param progress 0.0-1.0
         */
        void progress(float progress);
    }

    public interface Callback<T> {
        void callback(T t);
    }
}
